package com.poly.flowable.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class FormModelDTO implements Serializable {

    @ApiModelProperty("表单名称")
    private String formName;

    @ApiModelProperty("表单注释")
    private String comment;

    @ApiModelProperty("表单字段")
    private List<FormFieldDTO> fieldList;

    @ApiModelProperty("流程部署编号")
    private String deployId;

    @ApiModelProperty("流程定义编号")
    private String procDefId;

    public FormModelDTO(String formName, String comment) {
        this.formName = formName;
        this.comment = comment;
    }

}
